#ifndef _mj_lib_H_
#define _mj_lib_H_

void errorstop(char message[]);
void timestamp(char message[]);
void trim(char s[]);
void str2dvector(char inputstr[], double outputvector[], int n_vals);

void str2ivector(char inputstr[], int outputvector[], int n_vals);
void matmult(double **a, int a1, int a2, double **b, int b1, int b2, double **c);
void matcopy(double **a, double **b, int dim1, int dim2);

#endif 
